home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat4 / resolver.z / resolver
Text File  |  1998-10-20  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4. rrrreeeessssoooollllvvvveeeerrrr((((4444))))                                                        rrrreeeessssoooollllvvvveeeerrrr((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      resolver, resolv.conf - host-address resolver configuration file
  10.      (DNS/NIS)
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      /etc/resolv.conf
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This file controls the behavior of then _r_e_s_o_l_v_e_r(3N) routines in the C
  17.      library.  It is read by these routines the first time they are invoked by
  18.      a process.
  19.  
  20.      The file is designed to be human readable and contains a list of keywords
  21.      with values that provide various types of resolver information.  The
  22.      keyword and value must appear on a single line, and the keyword (for
  23.      example, nnnnaaaammmmeeeesssseeeerrrrvvvveeeerrrr) must start the line.  The value follows the keyword,
  24.      separated by white space.
  25.  
  26.      This file is not necessary if there is a name server running on the local
  27.      machine and the hostname contains the domain name.  It is necessary,
  28.      however, if the system administrator wants to override the default
  29.      ordering of the host lookup services.
  30.  
  31.      nnnnaaaammmmeeeesssseeeerrrrvvvveeeerrrr
  32.               Internet address (in dot notation) of a name server that the
  33.               resolver should query.  Up to three of these lines can be
  34.               specified; the resolver library queries them in the order
  35.               listed.  If no nnnnaaaammmmeeeesssseeeerrrrvvvveeeerrrr entries are present, the default is to
  36.               use the name server on the local machine.  (The algorithm used
  37.               is to try a name server, and if the query times out, try the
  38.               next, until out of name servers, then repeat trying all the name
  39.               servers until a maximum number of retries are made.)  When
  40.               specifying a nnnnaaaammmmeeeesssseeeerrrrvvvveeeerrrr entry for the local machine, use the
  41.               address 0 instead of the llllooooccccaaaallllhhhhoooosssstttt address of 127.1.
  42.  
  43.      ddddoooommmmaaaaiiiinnnn   Local domain name.  Most queries for names within this domain
  44.               can use short names relative to the local domain.  If no ddddoooommmmaaaaiiiinnnn
  45.               entry is present, the domain is determined from the local
  46.               hostname returned by _g_e_t_h_o_s_t_n_a_m_e(2); the domain part is taken to
  47.               be everything after the first `.'.  Finally, if the hostname
  48.               does not contain a domain part, the root domain is assumed.
  49.  
  50.      sssseeeeaaaarrrrcccchhhh   Search list for host-name lookup.  The search list is normally
  51.               determined from the local domain name; by default, it begins
  52.               with the local domain name, then successive parent domains that
  53.               have at least two components in their names.  This can be
  54.               changed by listing the desired domain search path following the
  55.               _s_e_a_r_c_h keyword with spaces or tabs separating the names.  Most
  56.               resolver queries are attempted using each component of the
  57.               search path in turn until a match is found.  This process can be
  58.               slow and generates a lot of network traffic if the servers for
  59.               the listed domains are not local.  Queries time out if no server
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. rrrreeeessssoooollllvvvveeeerrrr((((4444))))                                                        rrrreeeessssoooollllvvvveeeerrrr((((4444))))
  71.  
  72.  
  73.  
  74.               is available for one of the domains.
  75.  
  76.               The first item in the list becomes the default domain name; the
  77.               remaining items are the other domains to search after the
  78.               default one.
  79.  
  80.      The ddddoooommmmaaaaiiiinnnn and sssseeeeaaaarrrrcccchhhh keywords are mutually exclusive.  If more than one
  81.      instance of these keywords is present, the last instance overrides.
  82.  
  83.      ssssoooorrrrttttlllliiiisssstttt
  84.           List of preferred networks.  The sortlist keyword is followed by a
  85.           list of network addresses.  On each lookup the address list is
  86.           sorted with any address that is in the sortlist moved to the
  87.           beginning.  Within the list there is no order.  The format of the
  88.           items of the list is a dotted quad with an optional slash '/' and
  89.           netmask.
  90.  
  91.           e.g. sortlist 130.155.160.0/255.255.240.0 130.155.0.0
  92.  
  93.      ooooppppttttiiiioooonnnnssss
  94.           A list of resolver options.  Currently the only supported option is
  95.           nnnnddddoooottttssss which specifies how many dots need to be in a name for the
  96.           resolver to attempt to lookup the name as a fully qualified name if
  97.           the name does not contain a trailing dot.  It is followed by a colon
  98.           ':' and a number.  The default is nnnnddddoooottttssss::::1111.
  99.  
  100. NNNNOOOOTTTTEEEE
  101.      The hhhhoooossssttttrrrreeeessssoooorrrrddddeeeerrrr keyword is now ignored.  Resolve order for gethostbyname
  102.      and gethostbyaddr is now done in the nsswitch.conf file.
  103.  
  104.      In previous IRIX releases, the _r_e_s_o_l_v._c_o_n_f file was in the /_u_s_r/_e_t_c
  105.      directory.  In order for pre-IRIX5 binaries that use BIND to work
  106.      correctly, a symbolic link from /_e_t_c/_r_e_s_o_l_v._c_o_n_f must be made to the old
  107.      name.
  108.  
  109. FFFFIIIILLLLEEEESSSS
  110.      /etc/resolv.conf
  111.  
  112. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  113.      named(1M), gethostbyname(3N), resolver(3N), hostname(5).
  114.      nsswitch.conf(3);
  115.  
  116.      _I_R_I_X _A_d_m_i_n: _N_e_t_w_o_r_k_i_n_g _a_n_d _M_a_i_l
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.